package com.teamsun.exception;

/**
 * <p>服务端自定义异常</p>
 */
public class ServiceException extends RuntimeException {

    public ServiceException() {
        super("调用服务异常");
    }

    public ServiceException(String errorMsg) {
        super(errorMsg);
    }

    public ServiceException(Throwable e) {
        super("调用服务异常:", e);
    }

    public ServiceException(String errorMsg, Throwable e) {
        super("调用服务异常:" + errorMsg, e);
    }
}
